import { getRequest } from '/src/lib/axios';

export const logAuditApi = {
    // 系统登录日志
    getLoginHistory: (param) => {
        return getRequest('/historys/loginHistory/fetch', param);
    },
    // 应用访问日志
    getLoginAppsHistory: (param) => {
        return getRequest('/historys/loginAppsHistory/fetch', param);
    },
    // 同步器日志
    getSynchronizerHistory: (param) => {
        return getRequest('/historys/synchronizerHistory/fetch', param);
    },
    // 连接器日志
    getConnectorHistory: (param) => {
        return getRequest('/historys/connectorHistory/fetch', param);
    },
    // 系统管理日志
    getSystemLogs: (param) => {
        return getRequest('/historys/systemLogs/fetch', param);
    }
};
